package Snackbarsystem;

public class Food {
    private int id;
    private String name;
    private int price;
    private String taste;
    public Food(){
    }

    @Override
    public String toString() {
        return
                "    "+id+"\t    "+name+"\t    "+price+"\t    "+taste+"\t         \n";
    }

    public Food(int id, String name, int price, String taste){
            this.id=id;
            this.name=name;
            this.price=price;
            this.taste=taste;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getTaste() {
        return taste;
    }

    public void setTaste(String taste) {
        this.taste = taste;
    }


}
